package com.juren;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Auther: huangsj
 * @Date: 2018/8/29 16:07
 * @Description:
 */
public class Main {

    public static void main(String[] args) {
        com.alibaba.dubbo.container.Main.main(args);

//        try {
//            ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:spring/spring-context.xml");
//            context.start();
//        } catch (Exception e) {
//            log.error("== DubboProvider context start error:",e);
//        }
//        synchronized (DubboProvider.class) {
//            while (true) {
//                try {
//                    DubboProvider.class.wait();
//                } catch (InterruptedException e) {
//                    log.error("== synchronized error:",e);
//                }
//            }
//        }

    }




}
